/**
 * Copyright (C), 2019-2022, 宇信融汇
 * FileName: mathdemo
 * Author:   666
 * Date:     2022/1/16 9:38
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 666           修改时间           版本号              描述
 */
package com;

import java.util.Random;

/**
 * @Classname mathdemo
 * @Description TODO
 * @Date 2022/1/16 9:38
 * @Created by 666
 */
public class mathdemo {
    public static void main(String[] args) {
        //1、绝对值
        int a = 100;
        System.out.println(Math.random() );
        Random r = new Random();
        // 1-7 的随机数 [0,6) 7-1
        r.nextInt();

    }
}
